SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cd3670eeb7596cb3678c785ade28264efa9413b78ac4eb75196744c7b5abe889' 
  AND token = '7/2bqzIHNNtW6iKWWS2HZdM67HT6CVPuCFZG+044T7g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00062

JSON explain

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