SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9420c50cc84dfebe5727126702e58ad18360497ef389ee45904d499d5b94c3aa' 
  AND token = 'XB074c6aeQk2aE0Fq9vAboXKS+ODXy9A+4vpwnep9UY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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