SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '642a7a3bc3e9d2b9e9549001ffba785509c4ff3058819aeebb7da4a78686a0ff' 
  AND token = '15RSyWK28lDbwuzrrRHo4e1ZO50osiVDKRPaExjUs1o=' 
  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"
    }
  }
}