SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6baeecbe9876aef3fa468b892304c6f81ee90c3c5541396bffb81afb77d23550' 
  AND token = 'on84PSTbLNsKL/O1F2ziYGJrlaDxixogmTyLCyu+H6g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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