SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '28e80bf13c03590ed551a52c9efa749bfe5aee9367c2198f1696e1068597a86e' 
  AND token = 'EnderVTSgfS1CyVdjA9CuhV0lVWoJadheEcz36WL+x8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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