SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ecd41a14fc04070062965c1b16461e23aa378afd9e040d6f167fd58db9df12cb' 
  AND token = '6KAupiSOu35vyomiUusIfI3b94ei2SSUtNOXwVfhyMo=' 
  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"
    }
  }
}