SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bf6981a403df6598a762ac424438a9290e99af80f9568059b3c4ac234a133e80' 
  AND token = 'fU0uAQywJFumPjig23QAzECCU3Cj3G3LMnPHFc0D1tc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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