SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '52e5d9168162b491d9235473da47a8df39b0fdf97ef64dba68fd4462ec88e2f0' 
  AND token = 'WPPK6Ptih6GpNu956mvxALxENjW07fB22uIniZALt/E=' 
  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"
    }
  }
}