SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '541893ce713269fd3430fcaec29013f853cc5e8a831b6c91e239fbb09b4ebe81' 
  AND token = 'waaVidhd+pTVOAJaIi+U6ef/rgMWVePnHpEKzFETtM8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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