SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ea63a7db29fc4418feb784dcb05f77bf083908cd76a3385dab3cfe4d5c652d82' 
  AND token = 'NJyBiK1GXAT0M74RS3Spmhsap/RBT7Aua/6MOvPYV24=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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