SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '85271dd1e5c7f919a624ea5cf81881b6efa76d362f9139f00314631f40706217' 
  AND token = 'p3P4QDJMLKpx2ZoKWLDjCzwcA0MhFs2NITnRlsdBzM0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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