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

Query time 0.00051

JSON explain

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