SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '24d87cfa0223f7577ff9a1bb50db4114a56ea79a6a696056426664e66293e05f' 
  AND token = '2N6b8bT/Pfsrx7NR5KP8ak/unt9ErpNDPQsvOr3SocA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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