SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '64e9cf67fd6a682008f6d81a9e75d15e07a1b4af1b1ecd9cc0b07e34e497bb65' 
  AND token = 'nUHyNeGoMR0iaM93PuG0icZ9CWKpsSSn6bl9NWnWyxo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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