SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e4d6317497b25b7a9ec60c3974a6c97f1c87592bb6ab7d073eb210685ef0a41b' 
  AND token = 'dSPSkuV2/CrE8Gq9GFT/Je4qEUwsduFyeL08Wcuprb8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}