SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0651c256166126c01dbfe98012fd57b510b2c7a25c12585dd677db574999f894' 
  AND token = 'UJhx7zKb4mBexApXDrlP5qIc/0wEBYyF6sB5bpEWzlg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}