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

Query time 0.00030

JSON explain

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