SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'eac50b433ccda681755324f4c4671b50335e5aadd2ac573bb6b661c1054161c0' 
  AND token = 'ZGPTWm8HYnlEh83SRftB+jueLX+i23l80Me+BKONkpg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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