SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ed4009d5cd83b90237eec0a4c3f93f781eb04a7a9378a9226879116186543f58' 
  AND token = 'DShG/FL113p4ZEfyWUcodIN4qg7PCVxZJm36SZMSbL0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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