SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '56d7d903909e1cfc4dcfe2168ef203660b7c3e225166041753515d911ac29592' 
  AND token = '7ApI+JpObuEa9sl7F+HY80FOVbcye7gi/UTe5rBLpBU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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