SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dd6c418e5d1bfd6d38b763b2b597916f9c5a0e462445455c345aad833a388f3a' 
  AND token = '9DVn0Fp5LOP8TFwK33eEJZZdrDfPuk6c/IX6fZIa7wk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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