SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af61ba75eddcb6fe8bddb619a0c54349516a6836c10aa131c0af155ec7a9a248' 
  AND token = 'dSvDOcNT/uakkm7Zas0Xe1NzvTAlyJO0ZZkNfXO+N44=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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