SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1435dc782b26b54cbddfd4e02dd550d3794d3c75b891ba4ab2859a42da46f18f' 
  AND token = 'KPSR/3xQQmaFrK4Fi9/pkP245B5yD2g4EWwTwIASdr0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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