SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c49196915c04d4fd580b72860592038cefd81f50482915bf96ad8c49b4525a2f' 
  AND token = 'zZC2xAgk87wiCNbybTCOe4W3ZV9c+TS22bCzgIda71g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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