SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ec3907c59f58bdd1b9307e6a24ddea6fbaed0ec4df4adb5451a662bdbbc4a65e' 
  AND token = 'gPQjs78E03MyOCbdbBxw7MHMI1DS0kk+kd9aU4y324Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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