SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c78e3c05c1005b19ac51cfbb513f4085cfd1d64321ab1b691a578860b5ac2680' 
  AND token = 'Q6tPjYFUe0+DE9ILzWpOVZQ8r5WDuqoyPXbeTJyTx8I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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