SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a115f7d09d8af9d7884c2fcb9dd13875cf7bddb24f39abb7e076ad1eb9546722' 
  AND token = 'pgc65ulJtJQ6S9u5ByV6MBThB0H6Uvk5BM2LFxsEjZg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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