SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dd72d5ae9e929bcc5e69b02d72a41b4ae01ddb3e12af582150482d6be24092a4' 
  AND token = '7llt4fK7Yas7Y6CjIFjEREjsnNhkukh8T8heO/ZhFlQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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