SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5e5ad4bb86a5c313444bd4431e5abc32ab33c6f51472c7c3361ef89c7e4ebe07' 
  AND token = 'knRpJzacemEjzQ7m9xiHwhNQa9fj/n6QEgMpG/8hgbk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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