SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '174a6610c58d332fdec10364b09bd955863e5a867a5e1eb18fd81c28e6888c7d' 
  AND token = 'SkM3/Besy9j7l4fGZScroft8JeZeQRT4GGH0psVosoo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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