SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a334803b34f40aa1fecf7ce0796c7d881549873b779f1dc55a1365c1470352b1' 
  AND token = '/7VGc+NKcIJViOpkOk47qcEMqu0nUhpoihBira/vYGs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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