SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ddbc70a390a2202945f18dd78ca44f79e166ba14f4e30414de82244d36c837e' 
  AND token = '51t5Ao3JUopH1sKB4rQO4+UU9xN8CtFEZqSgfapfZHg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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